package com._520it.wms.util;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
//返回一个json对象
public class JSONResult {
    private boolean success = true;//是否响应成功
    private String msg;//错误信息

    public JSONResult() {
    }

    //标识方法
    public void mark(String msg) {
        this.success = false;
        this.msg = msg;
    }
}
